package com.gears_software.sxdc.dccx.data.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by chezhenzhen on 2017/9/21.
 */

@DatabaseTable(tableName = "noticeTable")
public class NoticeModel {
    @DatabaseField(generatedId = true)
    private int id;
    @DatabaseField
    private String title;
    @DatabaseField
    private String content;
    @DatabaseField
    private String createDate;
    @DatabaseField
    private String userId;

    public NoticeModel(int id, String title, String content, String createDate, String userId) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.createDate = createDate;
        this.userId = userId;
    }

    public NoticeModel() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
